<script setup>
import TagsComp from '@/components/Tool/TagsComp.vue'
const props = defineProps(['noteSetting'])
</script>

<template>
  <el-form @submit.prevent label-position="right" label-width="120px">
    <el-form-item label="日记默认视图">
      <el-radio-group v-model="noteSetting.noteView" size="small">
        <el-radio-button label="xx">详细</el-radio-button>
        <el-radio-button label="mt">每天</el-radio-button>
        <el-radio-button label="mz">每周</el-radio-button>
        <el-radio-button label="my">每月</el-radio-button>
        <el-radio-button label="mn">每年</el-radio-button>
      </el-radio-group>
    </el-form-item>
    <el-form-item label="常用标签">
      <TagsComp :tags="noteSetting.noteTags" />
    </el-form-item>
    <el-form-item label="日历标签">
      <TagsComp :tags="noteSetting.calendarTags" />
    </el-form-item>
  </el-form>
</template>

<style scoped></style>